<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>展示ES6的新特性</title>
		
		<script>
			var a=10;
			{
				var a=20;
				console.log(a);
			}
			console.log(a);
			
			let b=10;
			{
				let b=30;
				console.log(b);
			}
			console.log(b);
		</script>
	</head>
	<body>
	</body>
</html>
